﻿<Window x:Class="VoiceTestPlatform.ParameterWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="参数设置窗体" Height="300" Width="540">
    <Grid>
        <StackPanel>
            <Button   Command="{Binding SelectRecordPathCommand}">误操作测试录音路径</Button>
            <TextBlock Text="当前："></TextBlock>
            <TextBlock TextWrapping="Wrap" Text="{Binding RecordPath}"></TextBlock>

            <Button Margin="0,20,0,0"   Command="{Binding SelectArtificalPathCommand}">人工测试录音路径</Button>
            <TextBlock Text="当前："></TextBlock>
            <TextBlock TextWrapping="Wrap" Text="{Binding ArtificalPath}"></TextBlock>
            
            <StackPanel Orientation="Horizontal" Margin="0,20,0,0">
                <TextBlock Text="播放语音后等识别的延时：" TextAlignment="Right" Width="150"></TextBlock>
                <TextBox Text="{Binding PlayDelay,UpdateSourceTrigger=PropertyChanged}" MaxLength="6" Width="80"></TextBox>
                <TextBlock Text="秒" Margin="8,0,0,0" ></TextBlock>
            </StackPanel>

            <StackPanel Orientation="Horizontal" Margin="0,20,0,0" >
                <TextBlock Text="语音识别成功后延时：" TextAlignment="Right" Width="150"></TextBlock>
                <TextBox Text="{Binding VoiceDelay,UpdateSourceTrigger=PropertyChanged}" MaxLength="6" Width="80"></TextBox>
                <TextBlock Text="秒" Margin="8,0,0,0" ></TextBlock>
            </StackPanel>
        </StackPanel>        
    </Grid>
</Window>
